package com.example.behaviour.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.behaviour.pojos.ApCollectionDto;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ApCollectionDtoMapper extends BaseMapper<ApCollectionDto> {

    List<ApCollectionDto> getCollectionList(@Param("userId") Integer userId);

    List<ApCollectionDto> getThumbArticles(@Param("userId") Integer userId);
}
